package cn.deschen.biz.dto.search.feature;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author hanbin_chen
 * @Description 匹配条件-地区
 * @DateTime 2021/6/24
 * @Version V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RegionFeature {

    @ApiModelProperty(value = "匹配条件-地区集合")
    private List<Location> locations;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Location {

        @ApiModelProperty(value = "匹配条件-省")
        private String province;

        @ApiModelProperty(value = "匹配条件-市")
        private String city;
    }
}
